Optimal. Leaf size=213 \[ \frac {1}{3} x^3 \sqrt {a+b \sinh ^{-1}(c x)}-\frac {\sqrt {b} e^{a/b} \sqrt {\pi } \text {Erf}\left (\frac {\sqrt {a+b \sinh ^{-1}(c x)}}{\sqrt {b}}\right )}{16 c^3}+\frac {\sqrt {b} e^{\frac {3 a}{b}} \sqrt {\frac {\pi }{3}} \text {Erf}\left (\frac {\sqrt {3} \sqrt {a+b \sinh ^{-1}(c x)}}{\sqrt {b}}\right )}{48 c^3}+\frac {\sqrt {b} e^{-\frac {a}{b}} \sqrt {\pi } \text {Erfi}\left (\frac {\sqrt {a+b \sinh ^{-1}(c x)}}{\sqrt {b}}\right )}{16 c^3}-\frac {\sqrt {b} e^{-\frac {3 a}{b}} \sqrt {\frac {\pi }{3}} \text {Erfi}\left (\frac {\sqrt {3} \sqrt {a+b \sinh ^{-1}(c x)}}{\sqrt {b}}\right )}{48 c^3} \]
[Out]
________________________________________________________________________________________
Rubi [A]
time = 0.38, antiderivative size = 213, normalized size of antiderivative = 1.00, number of steps
used = 14, number of rules used = 7, integrand size = 16, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.438, Rules used = {5777, 5819,
3393, 3389, 2211, 2236, 2235} \begin {gather*} -\frac {\sqrt {\pi } \sqrt {b} e^{a/b} \text {Erf}\left (\frac {\sqrt {a+b \sinh ^{-1}(c x)}}{\sqrt {b}}\right )}{16 c^3}+\frac {\sqrt {\frac {\pi }{3}} \sqrt {b} e^{\frac {3 a}{b}} \text {Erf}\left (\frac {\sqrt {3} \sqrt {a+b \sinh ^{-1}(c x)}}{\sqrt {b}}\right )}{48 c^3}+\frac {\sqrt {\pi } \sqrt {b} e^{-\frac {a}{b}} \text {Erfi}\left (\frac {\sqrt {a+b \sinh ^{-1}(c x)}}{\sqrt {b}}\right )}{16 c^3}-\frac {\sqrt {\frac {\pi }{3}} \sqrt {b} e^{-\frac {3 a}{b}} \text {Erfi}\left (\frac {\sqrt {3} \sqrt {a+b \sinh ^{-1}(c x)}}{\sqrt {b}}\right )}{48 c^3}+\frac {1}{3} x^3 \sqrt {a+b \sinh ^{-1}(c x)} \end {gather*}
Antiderivative was successfully verified.
[In]
[Out]
Rule 2211
Rule 2235
Rule 2236
Rule 3389
Rule 3393
Rule 5777
Rule 5819
Rubi steps
\begin {align*} \int x^2 \sqrt {a+b \sinh ^{-1}(c x)} \, dx &=\frac {1}{3} x^3 \sqrt {a+b \sinh ^{-1}(c x)}-\frac {1}{6} (b c) \int \frac {x^3}{\sqrt {1+c^2 x^2} \sqrt {a+b \sinh ^{-1}(c x)}} \, dx\\ &=\frac {1}{3} x^3 \sqrt {a+b \sinh ^{-1}(c x)}-\frac {b \text {Subst}\left (\int \frac {\sinh ^3(x)}{\sqrt {a+b x}} \, dx,x,\sinh ^{-1}(c x)\right )}{6 c^3}\\ &=\frac {1}{3} x^3 \sqrt {a+b \sinh ^{-1}(c x)}-\frac {(i b) \text {Subst}\left (\int \left (\frac {3 i \sinh (x)}{4 \sqrt {a+b x}}-\frac {i \sinh (3 x)}{4 \sqrt {a+b x}}\right ) \, dx,x,\sinh ^{-1}(c x)\right )}{6 c^3}\\ &=\frac {1}{3} x^3 \sqrt {a+b \sinh ^{-1}(c x)}-\frac {b \text {Subst}\left (\int \frac {\sinh (3 x)}{\sqrt {a+b x}} \, dx,x,\sinh ^{-1}(c x)\right )}{24 c^3}+\frac {b \text {Subst}\left (\int \frac {\sinh (x)}{\sqrt {a+b x}} \, dx,x,\sinh ^{-1}(c x)\right )}{8 c^3}\\ &=\frac {1}{3} x^3 \sqrt {a+b \sinh ^{-1}(c x)}+\frac {b \text {Subst}\left (\int \frac {e^{-3 x}}{\sqrt {a+b x}} \, dx,x,\sinh ^{-1}(c x)\right )}{48 c^3}-\frac {b \text {Subst}\left (\int \frac {e^{3 x}}{\sqrt {a+b x}} \, dx,x,\sinh ^{-1}(c x)\right )}{48 c^3}-\frac {b \text {Subst}\left (\int \frac {e^{-x}}{\sqrt {a+b x}} \, dx,x,\sinh ^{-1}(c x)\right )}{16 c^3}+\frac {b \text {Subst}\left (\int \frac {e^x}{\sqrt {a+b x}} \, dx,x,\sinh ^{-1}(c x)\right )}{16 c^3}\\ &=\frac {1}{3} x^3 \sqrt {a+b \sinh ^{-1}(c x)}+\frac {\text {Subst}\left (\int e^{\frac {3 a}{b}-\frac {3 x^2}{b}} \, dx,x,\sqrt {a+b \sinh ^{-1}(c x)}\right )}{24 c^3}-\frac {\text {Subst}\left (\int e^{-\frac {3 a}{b}+\frac {3 x^2}{b}} \, dx,x,\sqrt {a+b \sinh ^{-1}(c x)}\right )}{24 c^3}-\frac {\text {Subst}\left (\int e^{\frac {a}{b}-\frac {x^2}{b}} \, dx,x,\sqrt {a+b \sinh ^{-1}(c x)}\right )}{8 c^3}+\frac {\text {Subst}\left (\int e^{-\frac {a}{b}+\frac {x^2}{b}} \, dx,x,\sqrt {a+b \sinh ^{-1}(c x)}\right )}{8 c^3}\\ &=\frac {1}{3} x^3 \sqrt {a+b \sinh ^{-1}(c x)}-\frac {\sqrt {b} e^{a/b} \sqrt {\pi } \text {erf}\left (\frac {\sqrt {a+b \sinh ^{-1}(c x)}}{\sqrt {b}}\right )}{16 c^3}+\frac {\sqrt {b} e^{\frac {3 a}{b}} \sqrt {\frac {\pi }{3}} \text {erf}\left (\frac {\sqrt {3} \sqrt {a+b \sinh ^{-1}(c x)}}{\sqrt {b}}\right )}{48 c^3}+\frac {\sqrt {b} e^{-\frac {a}{b}} \sqrt {\pi } \text {erfi}\left (\frac {\sqrt {a+b \sinh ^{-1}(c x)}}{\sqrt {b}}\right )}{16 c^3}-\frac {\sqrt {b} e^{-\frac {3 a}{b}} \sqrt {\frac {\pi }{3}} \text {erfi}\left (\frac {\sqrt {3} \sqrt {a+b \sinh ^{-1}(c x)}}{\sqrt {b}}\right )}{48 c^3}\\ \end {align*}
________________________________________________________________________________________
Mathematica [A]
time = 0.28, size = 215, normalized size = 1.01 \begin {gather*} \frac {e^{-\frac {3 a}{b}} \sqrt {a+b \sinh ^{-1}(c x)} \left (9 e^{\frac {4 a}{b}} \sqrt {-\frac {a+b \sinh ^{-1}(c x)}{b}} \Gamma \left (\frac {3}{2},\frac {a}{b}+\sinh ^{-1}(c x)\right )+\sqrt {3} \sqrt {\frac {a}{b}+\sinh ^{-1}(c x)} \Gamma \left (\frac {3}{2},-\frac {3 \left (a+b \sinh ^{-1}(c x)\right )}{b}\right )-9 e^{\frac {2 a}{b}} \sqrt {\frac {a}{b}+\sinh ^{-1}(c x)} \Gamma \left (\frac {3}{2},-\frac {a+b \sinh ^{-1}(c x)}{b}\right )-\sqrt {3} e^{\frac {6 a}{b}} \sqrt {-\frac {a+b \sinh ^{-1}(c x)}{b}} \Gamma \left (\frac {3}{2},\frac {3 \left (a+b \sinh ^{-1}(c x)\right )}{b}\right )\right )}{72 c^3 \sqrt {-\frac {\left (a+b \sinh ^{-1}(c x)\right )^2}{b^2}}} \end {gather*}
Antiderivative was successfully verified.
[In]
[Out]
________________________________________________________________________________________
Maple [F]
time = 180.00, size = 0, normalized size = 0.00 \[\int x^{2} \sqrt {a +b \arcsinh \left (c x \right )}\, dx\]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Maxima [F]
time = 0.00, size = 0, normalized size = 0.00 \begin {gather*} \text {Failed to integrate} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Fricas [F(-2)]
time = 0.00, size = 0, normalized size = 0.00 \begin {gather*} \text {Exception raised: TypeError} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Sympy [F]
time = 0.00, size = 0, normalized size = 0.00 \begin {gather*} \int x^{2} \sqrt {a + b \operatorname {asinh}{\left (c x \right )}}\, dx \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Giac [F]
time = 0.00, size = 0, normalized size = 0.00 \begin {gather*} \text {could not integrate} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Mupad [F]
time = 0.00, size = -1, normalized size = -0.00 \begin {gather*} \int x^2\,\sqrt {a+b\,\mathrm {asinh}\left (c\,x\right )} \,d x \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________